﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Budget
{
    class MyDataGridCell
    {
        int m_columnNumber;
        int m_rowNumber;
        string m_value;

        public MyDataGridCell(){}

        public MyDataGridCell(int i_row,int i_column,string i_value)
        {
            m_columnNumber = i_column;
            m_rowNumber = i_row;
            m_value = i_value;
        }

        public int ColumnNumber
        {
            get
            {
                return m_columnNumber;
            }
            set
            {
                m_columnNumber = value;
            }
        }

        public int RowNumber 
        { 
            get
            {
                return m_rowNumber;
            }
            set
            {
                m_rowNumber = value;
            }
        }

        public string Value
        {
            get
            {
                return m_value;
            }
            set
            {
                m_value = value;
            }
        }
    };
}
